<%@page language="java"
	import="java.sql.*,com.icss.utils.*,javax.naming.*,javax.sql.*,com.icss.beans.*,java.util.*"
	pageEncoding="UTF-8"%>

<jsp:useBean id="boarddao" class="com.icss.daos.BoardDao"></jsp:useBean>
<jsp:useBean id="articledao" class="com.icss.daos.ArticleDao"></jsp:useBean>
<jsp:useBean id="userdao" class="com.icss.daos.bbsUserDao"></jsp:useBean>
<jsp:useBean id="replydao" class="com.icss.daos.ReplyDao"></jsp:useBean>

<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>



<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<!-- saved from url=(0021)http://www.imgso.com/ -->
<HTML>
<HEAD>
<TITLE></TITLE>
<META content="text/html; charset=UTF-8" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18702">
<META name=author content="Discuz! Team and Comsenz UI Team">
<META name=copyright content="2001-2009 Comsenz Inc.">
<META name=MSSmartTagsPreventParsing content=True>
<META content=Yes http-equiv=MSThemeCompatible>
<META content=ie=7 http-equiv=x-ua-compatible>
<LINK title=BBS rel=archives>
<LINK title=BBS rel=alternate type=application/rss+xml>
<LINK rel=stylesheet type=text/css
	href="<%=basePath%>BBS/mainBBS_files/style_7_common.css">
<LINK rel=stylesheet type=text/css
	href="<%=basePath%>BBS/mainBBS_files/scriptstyle_7_index.css">
<SCRIPT type=text/javascript>var STYLEID = '7', IMGDIR = 'mainBBS_files/default', VERHASH = 'DSN', charset = 'gbk', discuz_uid = 0, cookiedomain = '', cookiepath = '/', attackevasive = '0', disallowfloat = '', creditnotice = '1|ÍþÍû|,2|½ðÇ®|,3|¹±Ï×|,4|EB|,5|ÉÌÒµ»ý·Ö|µã,6|ÃÀ¹¤»ý·Ö|·Ö', gid = parseInt('0'), fid = parseInt('0'), tid = parseInt('0')</SCRIPT>

<SCRIPT type=text/javascript
	src="<%=basePath%>BBS/mainBBS_files/common.js"></SCRIPT>
</HEAD>
<BODY onkeydown="if(event.keyCode==27) return false;" id=index>
<DIV id=append_parent></DIV>
<DIV id=ajaxwaitid></DIV>
<DIV id=header>
<DIV class="wrap s_clear">
<H2><A><IMG border=0 src="<%=basePath%>BBS/imag/logo_2.gif">
</A></H2>
<DIV id=umenu><A class=noborder
	href="<%=basePath%>BBS/userInfo.jsp"><%= (String) session.getAttribute("userName")%>
</A> <A class=noborder href="<%=basePath%>BBS/registerBBS.jsp">新注册ID</A> <A
	href="<%=basePath%>BBS/login.jsp">登录</A> <A
	href="<%=basePath %>bbsLoginDealServlet?param=logout">注销</A></DIV>
<DIV id=ad_headerbanner></DIV>
<DIV id=menu>
<UL>
	<LI class=menu_1><A hideFocus id=mn_index
		href="<%=basePath%>BBS/mainBBS.jsp">论坛首页</A></LI>
	<LI class=menu_13><A hideFocus style="FONT-WEIGHT: bold"
		id=mn_blog href="<%=basePath%>BBS/userInfo.jsp" target=_parent>个人首页</A>
	</LI>
	<LI class=menu_4><A hideFocus id=mn_faq
		href="<%=basePath%>BBS/userArticle.jsp" target=_parent>我的帖子</A></LI>

	<LI class=menu_7><A hideFocus id=mn_theme
		href="<%=basePath%>BBS/userReply.jsp" target=_parent>我的回复</A></LI>
	<LI class=menu_2><A href="<%=basePath%>BBS/search.jsp"
		target="_top" hideFocus id=mn_search>搜索</A></LI>
	<LI class=menu_10><A hideFocus id=mn_my
		href="<%=basePath%>BBS/manager.jsp" target=_blank>站长</A></LI>
	<LI class=menu_6><A hideFocus id=mn_demo
		href="<%=basePath%>index.jsp" target="_parent">返回OA界面</A></LI>
</UL>

<SCRIPT type=text/javascript>
var currentMenu = $('mn_index') ? $('mn_index') : $('mn_index');
currentMenu.parentNode.className = 'current';
</SCRIPT></DIV>
</DIV>

</DIV>

<DIV id=nav><A>论坛</A> &raquo; 首页</DIV>
<DIV id=ad_img>
<DIV id=ad_img_l><A><IMG
	src="<%=basePath%>BBS/imag/top_ad_1.png" width=700 height=50> </A></DIV>
<DIV id=ad_img_r><A><IMG
	src="<%=basePath%>BBS/mainBBS_files/top_ad_1_1.gif" width=260 height=50>
</A></DIV>
</DIV>
<DIV id=ad_img1></DIV>
<DIV id=ad_text></DIV>
<DIV id=wrap class="wrap s_clear">
<DIV class=main>
<DIV class=content>
<DIV id=ann>
<DL>
	<DT>公告
	<DD>
	<DIV id=annbody>
	<UL id=annbodylis>
		<LI><A>论坛取消下载附件需要支付共享积分功能<EM>(2010-3-12)</EM> </A>
		<LI><A>欢迎加入本站交流<EM>(2009-10-29)</EM> </A>
		<LI><A>管理员联系QQ:310836906<EM>(2009-4-9)</EM> </A></LI>
	</UL>
	</DIV>
	</DD>
</DL>
</DIV>
<SCRIPT type=text/javascript>announcement();</SCRIPT>

<DIV class="itemtitle s_clear">
<P class="right forumcount">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<A class=lightlink>查看新帖</A> 今日: <EM>2</EM>, 昨日: <EM>2</EM>, 会员: <EM><%=userdao.getAllUserNum() %>,</EM>
主题: <%=articledao.getAllArticleNum() %>, 帖子: <%=replydao.getAllReplyNum() %>
</P>


<UL>
	<LI class=current><A><SPAN>论坛版块</SPAN> </A></LI>
	<LI><A><SPAN>论坛动态</SPAN> </A></LI>
</UL>
</DIV>

<DIV class="mainbox list">
<DIV id=namebg><SPAN class=headactions><IMG
	id=category_33_img onclick="toggle_collapse('category_33');"
	src="<%=basePath%>BBS/mainBBS_files/collapsed_no.gif"> </SPAN> <jsp:useBean
	id="classdao" class="com.icss.daos.ClassDao"></jsp:useBean> <%
								ArrayList<ClassVO> classvos = classdao.getAllClass();

								for (int j = 0; j < classvos.size(); j++) {
							%>

<H3><A>｜<%=classvos.get(j).getClassName()%>｜</A></H3>
</DIV>
<TABLE id=category_33 cellSpacing=0 summary=category33 cellPadding=0>
	<TBODY id=forum4>


		<%
										ArrayList<BoardVO> boardvos = boarddao.getBoardByClassID(classvos.get(j).getClassID());

										for (BoardVO boardvo : boardvos) {
								%>
		<TR>
			<TH>
			<DIV class=left>
			<H2><A
				href="<%=basePath%>BBS/second.jsp?boardID=<%=boardvo.getBoardID()%>">｜<%=boardvo.getBoardName()%>｜</A>
			</H2>
			<P><%= boardvo.getBoardMsg()%></P>
			</DIV>
			</TH>
			<TD class=forumnums><EM>admin</EM> <BR>
			<%= articledao.getArticleNumByBoardID(boardvo.getBoardID())%></TD>
			<TD class=forumlast>
			<P><A>精英团队化-&gt;招募合作伙 ...</A></P>
			<CITE><A>usual</A> - 2010-3-1 21:59</CITE></TD>
		</TR>

	</TBODY>
	<%
									}
									boarddao.close();
							%>
</TABLE>


<DIV id=ad_intercat_33></DIV>
<DIV class="mainbox list">
<DIV id=namebg><SPAN class=headactions><IMG
	id=category_19_img onclick="toggle_collapse('category_19');"
	src="<%=basePath%>BBS/mainBBS_files/collapsed_no.gif"> </SPAN> <%
									}
									classdao.close();
								%>
</DIV>
</DIV>
</DIV>
</DIV>
</DIV>
<DIV id=ad_footerbanner1></DIV>
<DIV id=ad_footerbanner2></DIV>
<DIV id=ad_footerbanner3></DIV>

</DIV>
<DIV id=footer>
<DIV class="wrap s_clear">
<DIV id=footlink>

<P class=smalltext></P>
</DIV>
<DIV id=rightinfo>
<P>Powered by <STRONG><A>Discuz!</A> </STRONG> <EM>7.2</EM> Theme By
<A><B>Imgso.com</B> </A></P>
<P class=smalltext>&copy; 2001-2009 <A>Comsenz Inc.</A></P>
</DIV>
</DIV>
</DIV>
</BODY>
</HTML>
